<ul class="nav nav-tabs" role="tablist">
<li role="presentation" {if $ac=='my'}class="active"{/if}><a href="{tsUrl('message','my')}">未读</a></li>
<li role="presentation" {if $ac=='system'}class="active"{/if}><a href="{tsUrl('message','system')}">系统</a></li>
<li role="presentation" {if $ac=='friend' || $ac=='user'}class="active"{/if}><a  href="{tsUrl('message','friend')}">私人</a></li>
<li role="presentation" {if $ac=='sended'}class="active"{/if}><a  href="{tsUrl('message','sended')}">已发</a></li>
</ul>